package com.lut.edu.apm.commodityCenter.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lut.edu.apm.commodityCenter.dao.CommodityLibraryMapper;
import com.lut.edu.apm.commodityCenter.pojo.CommodityLibrary;
import com.lut.edu.apm.commodityCenter.service.CommodityLibraryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;

/**
 * @author Zhao Suzhen
 * @date `2024/4/13`
 */
@Service
public class CommodityLibraryServiceImpl extends ServiceImpl<CommodityLibraryMapper, CommodityLibrary> implements CommodityLibraryService {

    @Autowired
    CommodityLibraryMapper commodityLibraryMapper;

    @Override
    public CommodityLibrary queryById(String id) {
        return commodityLibraryMapper.selectById(id);
    }
}
